package com.dex4d.ui.main.model;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

/**
 * 作者    LiQingyi
 * 时间    2018/11/6 16:30
 * 文件    dex4d-android
 * 描述
 */
@Entity
public class TokenContract {

    @PrimaryKey
    public long token_id;

    public String name;
    public String redis_key;
    public String token_addr;
    public String dealer_addr;
    public int state;
    public String market_token;
    public String icon_app;
    public String icon_web;
    public String buy_price;
    public String sell_price;
    public String without_fee_price;
    public String ambassador_begin;
    public String ambassador_end;
    public String offline_time;

    @Override
    public String toString() {
        return "TokenContract{" +
                "token_id='" + token_id + '\'' +
                ", name='" + name + '\'' +
                ", redis_key='" + redis_key + '\'' +
                ", token_addr='" + token_addr + '\'' +
                ", dealer_addr='" + dealer_addr + '\'' +
                ", state=" + state +
                ", market_token='" + market_token + '\'' +
                ", icon_app='" + icon_app + '\'' +
                ", icon_web='" + icon_web + '\'' +
                ", buy_price='" + buy_price + '\'' +
                ", sell_price='" + sell_price + '\'' +
                ", without_fee_price='" + without_fee_price + '\'' +
                ", ambassador_begin='" + ambassador_begin + '\'' +
                ", ambassador_end='" + ambassador_end + '\'' +
                ", offline_time='" + offline_time + '\'' +
                '}';
    }
}
